//
// Decompiled by Jadx - 362ms
//
package gf;

import android.widget.ImageView;
import fn.j;
import fn.x;
import fn.y;
import fo.c;
import o.a;
import org.luckypray.dexkit.query.matchers.ClassMatcher;
import org.luckypray.dexkit.query.matchers.FieldMatcher;
import org.luckypray.dexkit.query.matchers.MethodMatcher;
import org.luckypray.dexkit.result.ClassData;
import org.luckypray.dexkit.result.MethodData;

@a("WX")
public final class af extends x {
    public static String cp;
    public static String cq;

    public final void a() {
        if (y.by.isLoadAllUserData()) {
            MethodData t = c.t(MethodMatcher.create().usingStrings(new String[]{"rawQuery", "com.tencent.mm.plugin.sns.storage.SnsSqliteDB"}).paramTypes(new Class[]{String.class, String[].class}));
            j.bd(t.getClassName(), t.getMethodName(), new Object[]{String.class, String[].class, new a()});
            ClassData n = c.n(ClassMatcher.create().usingStrings(new String[]{"createView", "com.tencent.mm.plugin.sns.ui.improve.component.ImproveMainUIC$buildItemConvertFactory"}));
            c.t(MethodMatcher.create().usingStrings(new String[]{"getInfo", "com.tencent.mm.plugin.sns.ui.improve.repository.ImproveListItem"}));
            j.ba(n.getName(), c.t(MethodMatcher.create().declaredClass(n.getName()).usingStrings(new String[]{"onBindViewHolder"})).getName(), new b());
            j.bb(c.t(MethodMatcher.create().paramCount(0).returnType("com.tencent.mm.protocal.protobuf.SnsObject").usingStrings(new String[]{"getSnsObject", "getMergeSnsObject"})), new c());
            j.bd("com.tencent.mm.plugin.sns.ui.SnsCommentDetailUI$CommentListAdapter", "getCount", new Object[]{new d(c.p(FieldMatcher.create().declaredClass("com.tencent.mm.plugin.sns.ui.SnsCommentDetailUI$CommentListAdapter").type("java.util.LinkedList")), c.s(FieldMatcher.create().declaredClass("com.tencent.mm.plugin.sns.ui.SnsCommentDetailUI$CommentListAdapter").type("java.util.LinkedList")))});
            Class ak = j.ak("com.tencent.mm.plugin.sns.ui.SnsTimeLineUI");
            if (ak != null) {
                j.ba(c.p(FieldMatcher.create().declaredClass(ak.getName()).type(ClassMatcher.create().superClass("android.widget.BaseAdapter"))).getTypeName(), "getView", new e());
                j.bb(c.t(MethodMatcher.create().name("getView").usingStrings(new String[]{"com.tencent.mm.plugin.sns.ui.SnsMsgUI$SnsMsgAdapter"})), new f());
                g gVar = new g();
                MethodMatcher create = MethodMatcher.create();
                Class cls = Boolean.TYPE;
                MethodData t2 = c.t(create.returnType(cls).usingStrings(new String[]{"checkHaveBlackContactListOrTagListBySnsObject"}));
                j.bd(t2.getClassName(), t2.getMethodName(), new Object[]{j.ak("com.tencent.mm.protocal.protobuf.SnsObject"), gVar});
                MethodData t3 = c.t(MethodMatcher.create().returnType(cls).usingStrings(new String[]{"checkHaveGroupContactListOrTagListBySnsObject"}));
                j.bd(t3.getClassName(), t3.getMethodName(), new Object[]{j.ak("com.tencent.mm.protocal.protobuf.SnsObject"), gVar});
                MethodData t4 = c.t(MethodMatcher.create().declaredClass("com.tencent.mm.plugin.sns.ui.widget.SnsAlbumThumbStateIconView").usingStrings(new String[]{"showIconWithState"}));
                if (t4 != null) {
                    j.bb(t4, new h(c.p(FieldMatcher.create().declaredClass(t4.getDeclaredClass().getName()).type(ImageView.class))));
                }
                MethodData t5 = c.t(MethodMatcher.create().usingStrings(new String[]{"getShowGroupEnable"}));
                j.bd(t5.getClassName(), t5.getMethodName(), new Object[]{gVar});
            }
        }
    }
}
